package com.tao.YanMoDesignPattern.factory.case1_pattern.product;

import com.tao.YanMoDesignPattern.factory.case1_pattern.MainboardApi;

/**
 * @Author Mi_Tao
 * @Date 2023/8/5
 * @Description
 * @Version 1.0
 **/
public class GAMainboard implements MainboardApi {

    public GAMainboard(int cpuHoles) {
        this.cpuHoles = cpuHoles;
    }

    // CPU插槽孔数
    private int cpuHoles = 0;
    @Override
    public void installCPU() {
        System.out.println("GAMainboard,cpuHoles="+cpuHoles);
    }
}
